package com.chinaunicom.create.builder;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/7/19 16:11
 * Description:
 */
public class Client {

    public static void main(String[] args) {
        
        StringBuilder stringBuilder = new StringBuilder();
        System.out.println(stringBuilder.append("heehh").toString());

        Builder builder = new ConcreteBuilder();
//        builder.builderSofa().builderTv().buildWall();
//        System.out.println(builder.getResult().toString());

        System.out.println("---------------------------");
        ProductDirectorManager directorManager = new ProductDirectorManager(builder);

        Product product = directorManager.decorate();
        System.out.println(product.toString());
    }
}
